// 取消交易
// @ts-ignore
export async function execute(client_id,message_json) {
    let login_characters = G.Characters.get_current_login_characters(client_id);
    let trade_data = _CharactersTradeData.get(login_characters["id"]);
    if (trade_data === undefined) {
        return;
    }
    _CharactersTradeData.delete(trade_data["target_id"]);
    _CharactersTradeData.delete(login_characters["id"]);
    ClientUtils.send_client_message(client_id,7,"#Y/已取消交易");
    ClientUtils.send_characters_basic_prompt(trade_data["target_id"], "#R/对方已取消交易");
    ClientUtils.send_characters_client_message(trade_data["target_id"],3511,1);
}